/*
 * This class is for class adapter method.
 * This class extends the class Bigger so that it get the method
 * public boolean bigger(int a,int b);
 * 
 * public:
 * 		public boolean bigger(char a[],char b[]);
 */
package adapter;

public class ClassAdapter extends Bigger{//extends Bigger so that this class has a method public boolean bigger(int a,int b)
	public boolean bigger(char a[],char b[])
	{
		boolean bigger = false;//flag for result
		
		//translate char to integer
		Integer na = Integer.parseInt(new String(a));
		Integer nb = Integer.parseInt(new String(b));
		
		//get the result from public boolean bigger(int a,int b) to bigger
		bigger = bigger(na, nb);
		
		return bigger;
	}
}
